#ifndef GAMEWINDOW_H
#define GAMEWINDOW_H

#include<QMainWindow>
#include<QStackedWidget>
#include "startmenu.h"
#include "gamewidget.h"
#include "pausemenu.h"
#include "resultmenu.h"

class GameWindow:public QMainWindow
{
public:
    Q_OBJECT

public:
    GameWindow(QWidget*parent=nullptr);
    ~GameWindow();

private:
    QStackedWidget*stackedWidget;
    StartMenu *startMenu;
    GameWidget* gameWidget;
    PauseMenu* pauseMenu;
    ResultMenu* resultMenu;
};

#endif // GAMEWINDOW_H
